package com.tgy.service;

import com.tgy.dao.BooksDao;
import com.tgy.entity.Books;
import org.springframework.stereotype.Service;

import java.util.List;


public interface BooksService {

    public List<Books> getAll();

    public int add(Books books);

    int del(int id);

    Books getBookById(int id);

    List<Books> query(Books books);
}
